ENet v1.3.13 Reliable UDP networking library

- Home
- Features
- Downloads
- Installation
- Tutorial
- Mailing List
- IRC Channel
- FAQ
- License
- Documentation

- Functions
- Data Structures
- Files
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
protocol.c File Reference

ENet protocol functions. More...

`#include <stdio.h>`
`#include <string.h>`
`#include "enet/utility.h"`
`#include "enet/time.h"`
`#include "enet/enet.h"`

## Macros
#define | ENET_BUILDING_LIB 1

## Functions
int | enet_host_check_events (ENetHost *host, ENetEvent *event)
| Checks for any queued events on the host and dispatches one if available. More...
void | enet_host_flush (ENetHost *host)
| Sends any queued packets on the host specified to its designated peers. More...
int | enet_host_service (ENetHost *host, ENetEvent *event, enet_uint32 timeout)
| Waits for events on the host specified and shuttles packets between the host and its peers. More...
size_t | enet_protocol_command_size (enet_uint8 commandNumber)

## Detailed Description

ENet protocol functions.

## Macro Definition Documentation

#define ENET_BUILDING_LIB 1

## Function Documentation

size_t enet_protocol_command_size | ( | enet_uint8 | commandNumber | ) |